# $Id: PKGBUILD 65885 2012-02-22 13:18:41Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-mail-domainkeys
pkgver=1.0
pkgrel=4
pkgdesc="Perl implementation of Yahoo's DomainKeys"
arch=(any)
url="http://search.cpan.org/dist/Mail-DomainKeys"
depends=('perl-crypt-openssl-rsa' 'perl-mailtools' 'perl-net-dns>=0.34')
license=("GPL")
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AN/ANTHONYU/Mail-DomainKeys-$pkgver.tar.gz)
md5sums=('a4565f21ada263cf34c55f50d7eb9944')

build() {
  cd  $srcdir/Mail-DomainKeys-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
